require('should')
const request = require('supertest')

describe('GET /v1/city', function() {
  const app = require('../app')
  it('respond with city array', function(done) {
    request(app).get('/v1/city').expect(200).end(function(err, res) {
      res.body.should.be.instanceof(Array)
      done()
    })
  })

  after(function() {
    app.destroy()
  })
})